#!/usr/bin/env python
# !/usr/bin/python3
# -*- coding: utf-8 -*-
# @Time    : 2024/8/23 下午7:15
# @Author  : wenrouyue
# @File    : admin_page.py
from pyrogram.types import InlineKeyboardButton, InlineKeyboardMarkup

from log.logger import LoggerConfig
from page.base_page import BasePage

log = LoggerConfig(__name__).get_logger()


class AdminPage(BasePage):
    def __init__(self, botData, callbackQuery):
        super().__init__(botData, callbackQuery)

    async def botStart(self, url):
        # log.info(url)
        self.get_bot_message()
        button_list = InlineKeyboardMarkup([
            [
                InlineKeyboardButton(text="test", callback_data="test"),
            ]
        ])
        await self.bot_message.send("123123", button_list)
